import { defineStore } from "pinia";
export const indexStore = defineStore("indexStore", () => {
  const httpCount = ref(0);
  function addHttpCount() {
    httpCount.value++;
  }
  function cutHttpCount() {
    httpCount.value--;
  }
  return { httpCount, addHttpCount, cutHttpCount };
});
